package com.example.hp.zyfypt_jzy322.activity.service;


import com.example.hp.zyfypt_jzy322.activity.bean.ArticleBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by pkx on 2017/4/18.
 */

public interface ArticleService {
    //3
    @GET("api.php/lists/mod/{mod}")
    Call<List<ArticleBean>> getResult(
            @Path("mod") String mod,
            @Query("page") int page,
            @Header("SessionID") String SessionID);
}
